package com.entrogy.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName SchoolMaintenanceHomeworkEntity
 * @Description 学校作业发送统计
 * @Author luoxingjiang
 * @Date 2019-12-11 上午 11:38
 * @Version 1.0
 **/
@SuppressWarnings("serial")
@AllArgsConstructor
@NoArgsConstructor
@Data
@Accessors(chain = true)
public class MaintenanceHomeworkUseEntity {

    // 发送次数
    private Integer sendCount;

    // 接收人数
    private Integer receivedCount;

    // 统计日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "MM.dd")
    private Date analysisDate;


}
